package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.domain.Dot;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2024-06-24
 */
public interface AreaService extends IService<Area> {
    public List<Area> selectAreaPage(Dot dot);
    public List<Area> selectAreaPageByName(Dot dot);
    public int get_total_people_by_AreaID(long AreaID);

    boolean areaModify(Area area);

    boolean areaDelete(Long areaID);

    boolean areaAdd(Map<String, Object> params);

    List<Area> selectAreaByBuildingIDs(List<Long> ids);
}
